package com.data.common.util.jsonschema.validate;

import com.alibaba.fastjson.JSONObject;
import java.util.HashMap;
import java.util.Map;
import com.data.common.util.jsonschema.CommonProperty;
import com.data.modules.online.config.executor.DataBaseConst;

public class HiddenProperty extends CommonProperty {

    private static final long f25l = -8939298551502162479L;

    public HiddenProperty() {
    }

    public HiddenProperty(String key, String title) {
        this.f2b = DataBaseConst.f474i;
        this.f5e = "hidden";
        this.f1a = key;
        this.f6f = title;
    }

    @Override
    public Map<String, Object> getPropertyJson() {
        HashMap hashMap = new HashMap();
        hashMap.put("key", getKey());
        JSONObject commonJson = getCommonJson();
        commonJson.put("hidden", true);
        hashMap.put("prop", commonJson);
        return hashMap;
    }
}
